Use the `fa-pulse` spinner built in with Font Awesome

Akinori MUSHA 10 years ago
parent
commit
914bbb4123
2 changed files with 1 additions and 26 deletions
  1. 0 25
      app/assets/stylesheets/application.css.scss.erb
  2. 1 1
      app/views/agents/show.html.erb

+ 0 - 25
app/assets/stylesheets/application.css.scss.erb

@@ -292,28 +292,3 @@ $service-colors:      #55acee     #8fc857     #444444     #2c4762     #007EE5;
292 292
 .label-service {
293 293
   @include services;
294 294
 }
295
-
296
-// Font Awesome Spinner
297
-
298
-.fa-spin-custom {
299
-  @include animation(spin 1000ms infinite linear);
300
-}
301
-
302
-@mixin keyframes($name)
303
-{
304
-  @-webkit-keyframes $name {
305
-    @content;
306
-  }
307
-  @keyframes $name {
308
-    @content;
309
-  }
310
-}
311
-
312
-@include keyframes(spin) {
313
-  0% {
314
-    @include rotate(0deg);
315
-  }
316
-  100% {
317
-    @include rotate(359deg);
318
-  }
319
-}

+ 1 - 1
app/views/agents/show.html.erb

@@ -165,7 +165,7 @@
165 165
             <p id="memory" data-agent-id="<%= @agent.id %>">
166 166
               <b>Memory:</b>
167 167
               <% if @agent.memory.present? %>
168
-                <i class="fa fa-spinner fa-spin spinner"></i>
168
+                <i class="fa fa-spinner fa-pulse spinner"></i>
169 169
                 <i class="fa fa-trash action-icon clear"></i>
170 170
               <% end %>
171 171
               <pre class="memory"><%= Utils.pretty_jsonify @agent.memory || {} %></pre>